export interface ResRolesList {
  id: number;
  role_name: string;
  permission_ids: string;
}

export interface ResPermissionsList {
  id: number;
  permission_name: string;
  name: string;
  pid: number;
  type: number;
  sort: number;
  [prop: string]: any;
}

// 更改权限参数
export interface UpdateRolePermissionParams {
  id: number;
  permission_ids: string;
  [prop: string]: any;
}

// 添加角色参数
export interface AddRoleParams {
  role_name: string;
  permission_ids: string;
}
